<?php

namespace App\Http\Controllers\Web;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\City;

class TraceAreaController extends Controller
{

    //获取商圈
    public function showTraceArea(Request $request){
        $city = City::where('parentid', $request->id)->get();
        return show("200","获取成功",['city'=>$city]);
    }

    //添加商圈
    public function addTraceAera(Request $request){
        //return show("200","成功",$this->takeoutRepository->getIdshopdish($request->id));
    }

    //删除商圈
    public function delectTraceAera(Request $request){
        //return  $this->takeoutRepository->addOrder($request->cart);
    }


}
